package io.renren.sf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.sf.dao.TeacherRoleDao;
import io.renren.sf.entity.BookRoleEntity;
import io.renren.sf.entity.TeacherRoleEntity;
import io.renren.sf.service.TeacherRoleService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("teacherRoleService")
public class TeacherRoleServiceImpl extends ServiceImpl<TeacherRoleDao, TeacherRoleEntity> implements TeacherRoleService {

    @Override
    public List<Long> getRoleIds(Long teacherId) {
        return this.baseMapper.getRoleIds(teacherId);
    }
}